T
The service to resolve.
Platform Core .NET Assemblies API
RebindWithFactoryMethod<T>(Func<T>,String) Method
See Also  Send Feedback
Terrasoft.Core.Factories Namespace > ClassFactory Class > RebindWithFactoryMethod Method : RebindWithFactoryMethod<T>(Func<T>,String) Method
resolveMethod
Method that returns the specified service.
name
The name to give the binding.

Glossary Item Box

Rewrites a binding for the specified service with the given name.

Syntax

 
C#
 
 

Parameters

resolveMethod
Method that returns the specified service.
name
The name to give the binding.

Type Parameters

T
The service to resolve.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.